package main
import (
    "fmt"
)
type  Ver struct {
    X int
    Y int
}
func main() {
    fmt.Print(Ver{1,2})

    v:=Ver{3,4}
    v.X=8
    fmt.Println(v)

    p:=Ver{5,6}
    q:=&p
    q.X=123
    fmt.Println(p)

    fmt.Println(v1,v2,v3,v4)
}

var (
    v1=Ver{1,2}
    v2=Ver{X:1}
    v3=Ver{}
    v4=&Ver{1,2}
)
